package com.lxs.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lxs
 * @since 2024-04-29
 */
@Data
@TableName("bill_")
@Accessors(chain = true)
public class Bill implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id_", type = IdType.AUTO)
      private Long id;

    @TableField("title_")
    private String title;

    @TableField("bill_time_")
    private Date billTime;

    @TableField("type_id_")
    private Long typeId;

    @TableField("price_")
    private Double price;

    @TableField("explain_")
    private String explain;

    /**
     * 页面显示的类型名称
     */
    @TableField(exist = false)
    private String typeName;

    /**
     * 查询条件：开始时间
     */
    @TableField(exist = false)
    private Date date1;

    /**
     * 查询条件：结束时间
     */
    @TableField(exist = false)
    private Date date2;



}
